package cn.itcast.web.filter;

import javax.servlet.*;
import java.io.IOException;

/*@WebFilter("/*")*/
public class FilterDemo3 implements Filter {


    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws ServletException, IOException {
        System.out.println("doFilter....");
        chain.doFilter(req, resp);
    }


    public void init(FilterConfig config) throws ServletException {
        System.out.println("init....");
    }

    public void destroy() {
        System.out.println("destroy....");
    }

}
